package baomidou.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import baomidou.service.model.BaseEntity;

import java.io.Serializable;
import java.util.Optional;

/**
 * @author zhanglinfeng
 * @date create in 2023/3/6 11:48
 */
public interface BaseService<T extends BaseEntity> extends IService<T> {

    Optional<T> unique(Serializable var1);

    Optional<T> unique(LambdaQueryWrapper<T> var1);

    boolean update(T var1);

    boolean insert(T var1);

}
